package client.ui;

public class Utils {
	public static String getAvatarImagePath(int humeur, char sexe){
		String root = "img/";
		String path;
		switch (humeur){
		case 0:
			path="normal";
			break;
		case 1:
			path="content";
			break;
		case 2:
			path="triste";
			break;
		case 3:
			path="fatigue";
			break;
		case 4:
			path="fier";
			break;
		case 5:
			path="dubitatif";
			break;
		case 6:
			path="amoureux";
			break;
		case 7:
			path="enerve";
			break;
		case 8:
			path="lapin";
			break;
		case 9:
			path="etonne";
			break;
		case 10:
			path="malade";
			break;
		default:
			path="normal";
			break;
		}
		return root+path+"_"+sexe + ".jpg";
	}
	
	public static String getAvatarDecoImagePath(int humeur, char sexe){
		String root = "img/";
		String path;
		switch (humeur){
		case 0:
			path="normal";
			break;
		case 1:
			path="content";
			break;
		case 2:
			path="triste";
			break;
		case 3:
			path="fatigue";
			break;
		case 4:
			path="fier";
			break;
		case 5:
			path="dubitatif";
			break;
		case 6:
			path="amoureux";
			break;
		case 7:
			path="enerve";
			break;
		case 8:
			path="lapin";
			break;
		case 9:
			path="etonne";
			break;
		case 10:
			path="malade";
			break;
		default:
			path="normal";
			break;
		}
		return root+path+"_"+sexe + "_deco.jpg";
	}
}
